#!/usr/bin/env python
# -*- coding:utf-8 -*-

"""
@author zyx
@since 2022/1/28 20:37
@file: c02_下载图片_方式2.py
"""

from urllib import request

img_src = 'http://img.itlun.cn/uploads/allimg/180527/1-1P52G43447-lp.jpg'
request.urlretrieve(img_src, '456.jpg')
